<?php

namespace Home\Model\Ajax;

class PmsRead extends AbstractAjax
{
    // 私信已读未读
    public function handle()
    {
        $id = I('request.id', '0', 'intval');
        D('UserPms')->set_pms_read($id, $this->uid);
        $ajax['status'] = 1;
        $ajax['content'] = "设置成功！";
        return $ajax;
    }
}